

import os

# 基本信息
VERSION = "0.01"
DEBUG = False
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))

# 安全认证
OAUTH_ENABLE = False

# 静态文件
STATIC_ENABLE = False
STATIC_URL = "/media"
STATIC_DIR = os.path.join(BASE_DIR, "static")
STATIC_ROOT = os.path.join(BASE_DIR, STATIC_DIR)

# 跨域访问
CORS_ORIGIN_ENABLE = True
ALLOW_ORIGINS = ["*"]
ALLOW_CREDENTIALS = True
ALLOW_METHODS = ["*"]
ALLOW_HEADERS = ["*"]

# 中间件
MIDDLEWARES = [
    # ""
]

from .develop import *
